<ul class="model_actions">
    <?php
    $i = 0;
    foreach ($items as $action => $caption):
        $i++;
        $current = (Yii::app()->controller->action->id == $action) ? 'current' : '';
    ?>
    <li class="<?php if ($i == 1) echo 'first ' ?><?php echo $action; ?>">
        <?php echo CHtml::link($caption, array($action, 'node' => Yii::app()->request->getParam('node')), array('class' => $current)); ?>
    </li>
    <?php endforeach; ?>
</ul>

